﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PassWord.aspx.cs" Inherits="LongQuanWeb.Admin.PassWord" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../Styles/skin.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <table cellspacing="1" cellpadding="3" width="96%" align="center" class="gv_css">
        <tr>
            <td class="UserTableRow2" width="33%" align="right">
                用户名:
            </td>
            <td class="UserTableRow2" width="67%">
                <asp:Label ID="lbl_name" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="UserTableRow2" width="33%" align="right">
                旧密码:
            </td>
            <td class="UserTableRow2" width="67%">
                <asp:TextBox ID="txt_old" runat="server" ValidationGroup="name" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txt_old"
                    Display="Dynamic" ErrorMessage="旧密码不能为空！" ValidationGroup="name" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="UserTableRow2" width="33%" align="right">
                新密码:
            </td>
            <td class="UserTableRow2" width="67%">
                <asp:TextBox ID="txt_new" runat="server" ValidationGroup="name" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txt_new"
                    Display="Dynamic" ErrorMessage="新密码不能为空！" ValidationGroup="name" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="UserTableRow2" width="33%" align="right">
                再次输入新密码:
            </td>
            <td class="UserTableRow2" width="67%">
                <asp:TextBox ID="txt_new2" runat="server" ValidationGroup="name" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txt_new2"
                    Display="Dynamic" ErrorMessage="再次输入新密码不能为空！" ValidationGroup="name" ForeColor="Red"></asp:RequiredFieldValidator>
                <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="两次输入的密码不相同！"
                    ForeColor="Red" ControlToCompare="txt_new" ControlToValidate="txt_new2"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td class="UserTableRow2" width="33%">
            </td>
            <td class="UserTableRow2" width="67%">
                <asp:Button ID="btn_Add" runat="server" Text="保存" ValidationGroup="name" OnClick="btn_Add_Click" />
                &nbsp;&nbsp;
                <asp:Button ID="btn_return" runat="server" Text="清空" CausesValidation="False" OnClick="btn_return_Click" />
            </td>
        </tr>
        <tr height="20px">
            <td colspan="2">
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
